#!/usr/bin/env bash

set -e

cd "$(dirname "$0")/.."

echo "==> Detecting breaking changes"

TEST_PATHS=(
	client_test.go
	accounts/account_test.go
	accounts/accountorganization_test.go
	accounts/accountprofile_test.go
	accounts/member_test.go
	accounts/role_test.go
	accounts/subscription_test.go
	accounts/token_test.go
	accounts/tokenpermissiongroup_test.go
	accounts/tokenvalue_test.go
	accounts/logaudit_test.go
	organizations/organization_test.go
	organizations/organizationaccount_test.go
	organizations/organizationprofile_test.go
	organizations/member_test.go
	origin_ca_certificates/origincacertificate_test.go
	ips/ip_test.go
	memberships/membership_test.go
	user/user_test.go
	user/auditlog_test.go
	user/billinghistory_test.go
	user/billingprofile_test.go
	user/invite_test.go
	user/organization_test.go
	user/subscription_test.go
	user/token_test.go
	user/tokenpermissiongroup_test.go
	user/tokenvalue_test.go
	zones/zone_test.go
	zones/activationcheck_test.go
	zones/setting_test.go
	zones/customnameserver_test.go
	zones/hold_test.go
	zones/subscription_test.go
	zones/plan_test.go
	zones/rateplan_test.go
	load_balancers/loadbalancer_test.go
	load_balancers/monitor_test.go
	load_balancers/monitorpreview_test.go
	load_balancers/monitorreference_test.go
	load_balancers/monitorgroup_test.go
	load_balancers/pool_test.go
	load_balancers/poolhealth_test.go
	load_balancers/poolreference_test.go
	load_balancers/preview_test.go
	load_balancers/region_test.go
	load_balancers/search_test.go
	cache/cache_test.go
	cache/cachereserve_test.go
	cache/smarttieredcache_test.go
	cache/variant_test.go
	cache/regionaltieredcache_test.go
	ssl/analyze_test.go
	ssl/certificatepack_test.go
	ssl/certificatepackquota_test.go
	ssl/recommendation_test.go
	ssl/universalsetting_test.go
	ssl/verification_test.go
	acm/totaltls_test.go
	argo/smartrouting_test.go
	argo/tieredcaching_test.go
	certificate_authorities/hostnameassociation_test.go
	client_certificates/clientcertificate_test.go
	custom_certificates/customcertificate_test.go
	custom_certificates/prioritize_test.go
	custom_hostnames/customhostname_test.go
	custom_hostnames/fallbackorigin_test.go
	custom_hostnames/certificatepackcertificate_test.go
	custom_nameservers/customnameserver_test.go
	dns_firewall/dnsfirewall_test.go
	dns_firewall/analyticsreport_test.go
	dns_firewall/analyticsreportbytime_test.go
	dns_firewall/reversedns_test.go
	dns/dnssec_test.go
	dns/record_test.go
	dns/settingzone_test.go
	dns/settingaccount_test.go
	dns/settingaccountview_test.go
	dns/analyticsreport_test.go
	dns/analyticsreportbytime_test.go
	dns/zonetransferforceaxfr_test.go
	dns/zonetransferincoming_test.go
	dns/zonetransferoutgoing_test.go
	dns/zonetransferoutgoingstatus_test.go
	dns/zonetransferacl_test.go
	dns/zonetransferpeer_test.go
	dns/zonetransfertsig_test.go
	email_security/investigate_test.go
	email_security/investigatedetection_test.go
	email_security/investigatepreview_test.go
	email_security/investigateraw_test.go
	email_security/investigatetrace_test.go
	email_security/investigatemove_test.go
	email_security/investigatereclassify_test.go
	email_security/investigaterelease_test.go
	email_security/settingallowpolicy_test.go
	email_security/settingblocksender_test.go
	email_security/settingdomain_test.go
	email_security/settingimpersonationregistry_test.go
	email_security/settingtrusteddomain_test.go
	email_security/submission_test.go
	email_routing/emailrouting_test.go
	email_routing/dns_test.go
	email_routing/rule_test.go
	email_routing/rulecatchall_test.go
	email_routing/address_test.go
	filters/filter_test.go
	firewall/lockdown_test.go
	firewall/rule_test.go
	firewall/accessrule_test.go
	firewall/uarule_test.go
	firewall/wafoverride_test.go
	firewall/wafpackage_test.go
	firewall/wafpackagegroup_test.go
	firewall/wafpackagerule_test.go
	healthchecks/healthcheck_test.go
	healthchecks/preview_test.go
	keyless_certificates/keylesscertificate_test.go
	logpush/datasetfield_test.go
	logpush/datasetjob_test.go
	logpush/edge_test.go
	logpush/job_test.go
	logpush/ownership_test.go
	logpush/validate_test.go
	logs/controlretention_test.go
	logs/controlcmbconfig_test.go
	logs/rayid_test.go
	logs/received_test.go
	logs/receivedfield_test.go
	origin_tls_client_auth/origintlsclientauth_test.go
	origin_tls_client_auth/hostname_test.go
	origin_tls_client_auth/hostnamecertificate_test.go
	origin_tls_client_auth/setting_test.go
	page_rules/pagerule_test.go
	rate_limits/ratelimit_test.go
	waiting_rooms/waitingroom_test.go
	waiting_rooms/page_test.go
	waiting_rooms/event_test.go
	waiting_rooms/eventdetail_test.go
	waiting_rooms/rule_test.go
	waiting_rooms/status_test.go
	waiting_rooms/setting_test.go
	web3/hostname_test.go
	web3/hostnameipfsuniversalpathcontentlist_test.go
	web3/hostnameipfsuniversalpathcontentlistentry_test.go
	workers/betaworker_test.go
	workers/betaworkerversion_test.go
	workers/route_test.go
	workers/assetupload_test.go
	workers/script_test.go
	workers/scriptassetupload_test.go
	workers/scriptsubdomain_test.go
	workers/scriptschedule_test.go
	workers/scripttail_test.go
	workers/scriptcontent_test.go
	workers/scriptsetting_test.go
	workers/scriptdeployment_test.go
	workers/scriptversion_test.go
	workers/scriptsecret_test.go
	workers/scriptscriptandversionsetting_test.go
	workers/accountsetting_test.go
	workers/domain_test.go
	workers/subdomain_test.go
	workers/observabilitytelemetry_test.go
	kv/namespace_test.go
	kv/namespacekey_test.go
	kv/namespacemetadata_test.go
	kv/namespacevalue_test.go
	durable_objects/namespace_test.go
	durable_objects/namespaceobject_test.go
	queues/queue_test.go
	queues/message_test.go
	queues/purge_test.go
	queues/consumer_test.go
	queues/subscription_test.go
	api_gateway/configuration_test.go
	api_gateway/discovery_test.go
	api_gateway/discoveryoperation_test.go
	api_gateway/operation_test.go
	api_gateway/operationschemavalidation_test.go
	api_gateway/schema_test.go
	api_gateway/settingschemavalidation_test.go
	api_gateway/userschema_test.go
	api_gateway/userschemaoperation_test.go
	api_gateway/userschemahost_test.go
	api_gateway/expressiontemplatefallthrough_test.go
	managed_transforms/managedtransform_test.go
	page_shield/pageshield_test.go
	page_shield/policy_test.go
	page_shield/connection_test.go
	page_shield/script_test.go
	page_shield/cookie_test.go
	rulesets/ruleset_test.go
	rulesets/phase_test.go
	rulesets/phaseversion_test.go
	rulesets/rule_test.go
	rulesets/version_test.go
	url_normalization/urlnormalization_test.go
	spectrum/analyticsaggregatecurrent_test.go
	spectrum/analyticseventbytime_test.go
	spectrum/analyticseventsummary_test.go
	spectrum/app_test.go
	addressing/regionalhostname_test.go
	addressing/regionalhostnameregion_test.go
	addressing/service_test.go
	addressing/addressmap_test.go
	addressing/addressmapaccount_test.go
	addressing/addressmapip_test.go
	addressing/addressmapzone_test.go
	addressing/loadocument_test.go
	addressing/prefix_test.go
	addressing/prefixservicebinding_test.go
	addressing/prefixbgpprefix_test.go
	addressing/prefixadvertisementstatus_test.go
	addressing/prefixdelegation_test.go
	audit_logs/auditlog_test.go
	billing/profile_test.go
	brand_protection/brandprotection_test.go
	brand_protection/query_test.go
	brand_protection/match_test.go
	brand_protection/logo_test.go
	brand_protection/logomatch_test.go
	diagnostics/traceroute_test.go
	diagnostics/endpointhealthcheck_test.go
	images/v1_test.go
	images/v1key_test.go
	images/v1stat_test.go
	images/v1variant_test.go
	images/v1blob_test.go
	images/v2_test.go
	images/v2directupload_test.go
	intel/asn_test.go
	intel/asnsubnet_test.go
	intel/dns_test.go
	intel/domain_test.go
	intel/domainbulk_test.go
	intel/domainhistory_test.go
	intel/ip_test.go
	intel/iplist_test.go
	intel/miscategorization_test.go
	intel/whois_test.go
	intel/indicatorfeed_test.go
	intel/indicatorfeedsnapshot_test.go
	intel/indicatorfeedpermission_test.go
	intel/sinkhole_test.go
	intel/attacksurfacereportissuetype_test.go
	intel/attacksurfacereportissue_test.go
	magic_transit/app_test.go
	magic_transit/cfinterconnect_test.go
	magic_transit/gretunnel_test.go
	magic_transit/ipsectunnel_test.go
	magic_transit/route_test.go
	magic_transit/site_test.go
	magic_transit/siteacl_test.go
	magic_transit/sitelan_test.go
	magic_transit/sitewan_test.go
	magic_transit/connector_test.go
	magic_transit/connectorevent_test.go
	magic_transit/connectoreventlatest_test.go
	magic_transit/connectorsnapshot_test.go
	magic_transit/connectorsnapshotlatest_test.go
	magic_transit/pcap_test.go
	magic_transit/pcapownership_test.go
	magic_transit/pcapdownload_test.go
	magic_network_monitoring/vpcflowtoken_test.go
	magic_network_monitoring/config_test.go
	magic_network_monitoring/configfull_test.go
	magic_network_monitoring/rule_test.go
	magic_network_monitoring/ruleadvertisement_test.go
	magic_cloud_networking/catalogsync_test.go
	magic_cloud_networking/catalogsyncprebuiltpolicy_test.go
	magic_cloud_networking/onramp_test.go
	magic_cloud_networking/onrampaddressspace_test.go
	magic_cloud_networking/cloudintegration_test.go
	magic_cloud_networking/resource_test.go
	network_interconnects/cni_test.go
	network_interconnects/interconnect_test.go
	network_interconnects/setting_test.go
	network_interconnects/slot_test.go
	mtls_certificates/mtlscertificate_test.go
	mtls_certificates/association_test.go
	pages/project_test.go
	pages/projectdeployment_test.go
	pages/projectdeploymenthistorylog_test.go
	pages/projectdomain_test.go
	registrar/domain_test.go
	request_tracers/trace_test.go
	rules/list_test.go
	rules/listbulkoperation_test.go
	rules/listitem_test.go
	stream/stream_test.go
	stream/audiotrack_test.go
	stream/video_test.go
	stream/clip_test.go
	stream/copy_test.go
	stream/directupload_test.go
	stream/key_test.go
	stream/liveinput_test.go
	stream/liveinputoutput_test.go
	stream/watermark_test.go
	stream/webhook_test.go
	stream/caption_test.go
	stream/captionlanguage_test.go
	stream/captionlanguagevtt_test.go
	stream/download_test.go
	stream/embed_test.go
	stream/token_test.go
	alerting/availablealert_test.go
	alerting/destinationeligible_test.go
	alerting/destinationpagerduty_test.go
	alerting/destinationwebhook_test.go
	alerting/history_test.go
	alerting/policy_test.go
	d1/database_test.go
	r2/bucket_test.go
	r2/bucketlifecycle_test.go
	r2/bucketcors_test.go
	r2/bucketdomaincustom_test.go
	r2/bucketdomainmanaged_test.go
	r2/bucketeventnotification_test.go
	r2/bucketlock_test.go
	r2/bucketmetric_test.go
	r2/bucketsippy_test.go
	r2/temporarycredential_test.go
	r2/superslurperjob_test.go
	r2/superslurperjoblog_test.go
	r2/superslurperconnectivityprecheck_test.go
	workers_for_platforms/dispatchnamespace_test.go
	workers_for_platforms/dispatchnamespacescript_test.go
	workers_for_platforms/dispatchnamespacescriptassetupload_test.go
	workers_for_platforms/dispatchnamespacescriptcontent_test.go
	workers_for_platforms/dispatchnamespacescriptsetting_test.go
	workers_for_platforms/dispatchnamespacescriptbinding_test.go
	workers_for_platforms/dispatchnamespacescriptsecret_test.go
	workers_for_platforms/dispatchnamespacescripttag_test.go
	zero_trust/device_test.go
	zero_trust/devicedevice_test.go
	zero_trust/deviceresilienceglobalwarpoverride_test.go
	zero_trust/deviceregistration_test.go
	zero_trust/devicedextest_test.go
	zero_trust/devicenetwork_test.go
	zero_trust/devicefleetstatus_test.go
	zero_trust/devicepolicydefault_test.go
	zero_trust/devicepolicydefaultexclude_test.go
	zero_trust/devicepolicydefaultinclude_test.go
	zero_trust/devicepolicydefaultfallbackdomain_test.go
	zero_trust/devicepolicydefaultcertificate_test.go
	zero_trust/devicepolicycustom_test.go
	zero_trust/devicepolicycustomexclude_test.go
	zero_trust/devicepolicycustominclude_test.go
	zero_trust/devicepolicycustomfallbackdomain_test.go
	zero_trust/deviceposture_test.go
	zero_trust/devicepostureintegration_test.go
	zero_trust/devicerevoke_test.go
	zero_trust/devicesetting_test.go
	zero_trust/deviceunrevoke_test.go
	zero_trust/deviceoverridecode_test.go
	zero_trust/identityprovider_test.go
	zero_trust/identityproviderscimgroup_test.go
	zero_trust/identityproviderscimuser_test.go
	zero_trust/organization_test.go
	zero_trust/organizationdoh_test.go
	zero_trust/seat_test.go
	zero_trust/accessaicontrolmcpportal_test.go
	zero_trust/accessaicontrolmcpserver_test.go
	zero_trust/accessgatewayca_test.go
	zero_trust/accessinfrastructuretarget_test.go
	zero_trust/accessapplication_test.go
	zero_trust/accessapplicationca_test.go
	zero_trust/accessapplicationuserpolicycheck_test.go
	zero_trust/accessapplicationpolicy_test.go
	zero_trust/accessapplicationpolicytest_test.go
	zero_trust/accessapplicationpolicytestuser_test.go
	zero_trust/accessapplicationsetting_test.go
	zero_trust/accesscertificate_test.go
	zero_trust/accesscertificatesetting_test.go
	zero_trust/accessgroup_test.go
	zero_trust/accessservicetoken_test.go
	zero_trust/accessbookmark_test.go
	zero_trust/accesskey_test.go
	zero_trust/accesslogaccessrequest_test.go
	zero_trust/accesslogscimupdate_test.go
	zero_trust/accessuser_test.go
	zero_trust/accessuseractivesession_test.go
	zero_trust/accessuserlastseenidentity_test.go
	zero_trust/accessuserfailedlogin_test.go
	zero_trust/accesscustompage_test.go
	zero_trust/accesstag_test.go
	zero_trust/accesspolicy_test.go
	zero_trust/dexwarpchangeevent_test.go
	zero_trust/dexcommand_test.go
	zero_trust/dexcommanddevice_test.go
	zero_trust/dexcommanddownload_test.go
	zero_trust/dexcommandquota_test.go
	zero_trust/dexcolo_test.go
	zero_trust/dexfleetstatus_test.go
	zero_trust/dexfleetstatusdevice_test.go
	zero_trust/dexhttptest_test.go
	zero_trust/dexhttptestpercentile_test.go
	zero_trust/dextest_test.go
	zero_trust/dextestuniquedevice_test.go
	zero_trust/dextraceroutetestresultnetworkpath_test.go
	zero_trust/dextraceroutetest_test.go
	zero_trust/tunnel_test.go
	zero_trust/tunnelcloudflared_test.go
	zero_trust/tunnelcloudflaredconfiguration_test.go
	zero_trust/tunnelcloudflaredconnection_test.go
	zero_trust/tunnelcloudflaredtoken_test.go
	zero_trust/tunnelcloudflaredconnector_test.go
	zero_trust/tunnelcloudflaredmanagement_test.go
	zero_trust/tunnelwarpconnector_test.go
	zero_trust/tunnelwarpconnectortoken_test.go
	zero_trust/connectivitysetting_test.go
	zero_trust/dlpdataset_test.go
	zero_trust/dlpdatasetupload_test.go
	zero_trust/dlpdatasetversion_test.go
	zero_trust/dlpdatasetversionentry_test.go
	zero_trust/dlppattern_test.go
	zero_trust/dlppayloadlog_test.go
	zero_trust/dlpemailaccountmapping_test.go
	zero_trust/dlpemailrule_test.go
	zero_trust/dlpprofile_test.go
	zero_trust/dlpprofilecustom_test.go
	zero_trust/dlpprofilepredefined_test.go
	zero_trust/dlplimit_test.go
	zero_trust/dlpentry_test.go
	zero_trust/dlpentrycustom_test.go
	zero_trust/dlpentrypredefined_test.go
	zero_trust/dlpentryintegration_test.go
	zero_trust/gateway_test.go
	zero_trust/gatewayauditsshsetting_test.go
	zero_trust/gatewaycategory_test.go
	zero_trust/gatewayapptype_test.go
	zero_trust/gatewayconfiguration_test.go
	zero_trust/gatewayconfigurationcustomcertificate_test.go
	zero_trust/gatewaylist_test.go
	zero_trust/gatewaylistitem_test.go
	zero_trust/gatewaylocation_test.go
	zero_trust/gatewaylogging_test.go
	zero_trust/gatewayproxyendpoint_test.go
	zero_trust/gatewayrule_test.go
	zero_trust/gatewaycertificate_test.go
	zero_trust/networkroute_test.go
	zero_trust/networkrouteip_test.go
	zero_trust/networkroutenetwork_test.go
	zero_trust/networkvirtualnetwork_test.go
	zero_trust/networksubnet_test.go
	zero_trust/networksubnetcloudflaresource_test.go
	zero_trust/networkhostnameroute_test.go
	zero_trust/riskscoring_test.go
	zero_trust/riskscoringbehaviour_test.go
	zero_trust/riskscoringsummary_test.go
	zero_trust/riskscoringintegration_test.go
	zero_trust/riskscoringintegrationreference_test.go
	turnstile/widget_test.go
	connectivity/directoryservice_test.go
	hyperdrive/config_test.go
	rum/siteinfo_test.go
	rum/rule_test.go
	vectorize/index_test.go
	vectorize/indexmetadataindex_test.go
	url_scanner/response_test.go
	url_scanner/scan_test.go
	radar/aitomarkdown_test.go
	radar/aiinference_test.go
	radar/aiinferencesummary_test.go
	radar/aiinferencetimeseriesgroupsummary_test.go
	radar/aibot_test.go
	radar/aibotsummary_test.go
	radar/aitimeseriesgroup_test.go
	radar/ct_test.go
	radar/ctauthority_test.go
	radar/ctlog_test.go
	radar/annotation_test.go
	radar/annotationoutage_test.go
	radar/bgp_test.go
	radar/bgpleakevent_test.go
	radar/bgptop_test.go
	radar/bgptopase_test.go
	radar/bgphijackevent_test.go
	radar/bgproute_test.go
	radar/bgpip_test.go
	radar/bot_test.go
	radar/botwebcrawler_test.go
	radar/dataset_test.go
	radar/dns_test.go
	radar/dnstop_test.go
	radar/dnssummary_test.go
	radar/dnstimeseriesgroup_test.go
	radar/netflow_test.go
	radar/netflowtop_test.go
	radar/search_test.go
	radar/verifiedbottop_test.go
	radar/as112_test.go
	radar/as112summary_test.go
	radar/as112timeseriesgroup_test.go
	radar/as112top_test.go
	radar/emailrouting_test.go
	radar/emailroutingsummary_test.go
	radar/emailroutingtimeseriesgroup_test.go
	radar/emailsecurity_test.go
	radar/emailsecuritytoptld_test.go
	radar/emailsecuritytoptldmalicious_test.go
	radar/emailsecuritytoptldspam_test.go
	radar/emailsecuritytoptldspoof_test.go
	radar/emailsecuritysummary_test.go
	radar/emailsecuritytimeseriesgroup_test.go
	radar/attacklayer3_test.go
	radar/attacklayer3summary_test.go
	radar/attacklayer3timeseriesgroup_test.go
	radar/attacklayer3top_test.go
	radar/attacklayer3toplocation_test.go
	radar/attacklayer7_test.go
	radar/attacklayer7summary_test.go
	radar/attacklayer7timeseriesgroup_test.go
	radar/attacklayer7top_test.go
	radar/attacklayer7toplocation_test.go
	radar/attacklayer7topase_test.go
	radar/entity_test.go
	radar/entityasn_test.go
	radar/entitylocation_test.go
	radar/geolocation_test.go
	radar/http_test.go
	radar/httplocation_test.go
	radar/httplocationbotclass_test.go
	radar/httplocationdevicetype_test.go
	radar/httplocationhttpprotocol_test.go
	radar/httplocationhttpmethod_test.go
	radar/httplocationipversion_test.go
	radar/httplocationos_test.go
	radar/httplocationtlsversion_test.go
	radar/httplocationbrowserfamily_test.go
	radar/httpase_test.go
	radar/httpasebotclass_test.go
	radar/httpasedevicetype_test.go
	radar/httpasehttpprotocol_test.go
	radar/httpasehttpmethod_test.go
	radar/httpaseipversion_test.go
	radar/httpaseos_test.go
	radar/httpasetlsversion_test.go
	radar/httpasebrowserfamily_test.go
	radar/httpsummary_test.go
	radar/httptimeseriesgroup_test.go
	radar/httptop_test.go
	radar/qualityiqi_test.go
	radar/qualityspeed_test.go
	radar/qualityspeedtop_test.go
	radar/ranking_test.go
	radar/rankingdomain_test.go
	radar/rankinginternetservice_test.go
	radar/trafficanomaly_test.go
	radar/trafficanomalylocation_test.go
	radar/tcpresetstimeout_test.go
	radar/robotstxttop_test.go
	radar/robotstxttopuseragent_test.go
	radar/leakedcredential_test.go
	radar/leakedcredentialsummary_test.go
	radar/leakedcredentialtimeseriesgroup_test.go
	bot_management/botmanagement_test.go
	origin_post_quantum_encryption/originpostquantumencryption_test.go
	zaraz/zaraz_test.go
	zaraz/config_test.go
	zaraz/default_test.go
	zaraz/export_test.go
	zaraz/history_test.go
	zaraz/historyconfig_test.go
	zaraz/publish_test.go
	zaraz/workflow_test.go
	speed/schedule_test.go
	speed/availability_test.go
	speed/page_test.go
	speed/pagetest_test.go
	dcv_delegation/dcvdelegation_test.go
	hostnames/settingtls_test.go
	snippets/snippet_test.go
	snippets/content_test.go
	snippets/rule_test.go
	calls/sfu_test.go
	calls/turn_test.go
	cloudforce_one/scanresult_test.go
	cloudforce_one/scanconfig_test.go
	cloudforce_one/binarystorage_test.go
	cloudforce_one/request_test.go
	cloudforce_one/requestmessage_test.go
	cloudforce_one/requestpriority_test.go
	cloudforce_one/requestasset_test.go
	cloudforce_one/threatevent_test.go
	cloudforce_one/threateventattacker_test.go
	cloudforce_one/threateventcategory_test.go
	cloudforce_one/threateventcountry_test.go
	cloudforce_one/threateventdataset_test.go
	cloudforce_one/threateventindicatortype_test.go
	cloudforce_one/threateventraw_test.go
	cloudforce_one/threateventrelate_test.go
	cloudforce_one/threateventtag_test.go
	cloudforce_one/threateventeventtag_test.go
	cloudforce_one/threateventtargetindustry_test.go
	ai_gateway/aigateway_test.go
	ai_gateway/evaluationtype_test.go
	ai_gateway/log_test.go
	ai_gateway/dataset_test.go
	ai_gateway/evaluation_test.go
	ai_gateway/url_test.go
	iam/permissiongroup_test.go
	iam/resourcegroup_test.go
	iam/usergroup_test.go
	iam/usergroupmember_test.go
	iam/sso_test.go
	cloud_connector/rule_test.go
	botnet_feed/asn_test.go
	botnet_feed/configasn_test.go
	security_txt/securitytxt_test.go
	workflows/workflow_test.go
	workflows/instance_test.go
	workflows/instancestatus_test.go
	workflows/instanceevent_test.go
	workflows/version_test.go
	resource_sharing/resourcesharing_test.go
	resource_sharing/recipient_test.go
	resource_sharing/resource_test.go
	leaked_credential_checks/leakedcredentialcheck_test.go
	leaked_credential_checks/detection_test.go
	content_scanning/contentscanning_test.go
	content_scanning/payload_test.go
	content_scanning/setting_test.go
	abuse_reports/abusereport_test.go
	abuse_reports/mitigation_test.go
	ai/ai_test.go
	ai/finetune_test.go
	ai/finetuneasset_test.go
	ai/finetunepublic_test.go
	ai/author_test.go
	ai/task_test.go
	ai/model_test.go
	ai/modelschema_test.go
	ai/tomarkdown_test.go
	security_center/insight_test.go
	security_center/insightclass_test.go
	security_center/insightseverity_test.go
	security_center/insighttype_test.go
	browser_rendering/content_test.go
	browser_rendering/pdf_test.go
	browser_rendering/scrape_test.go
	browser_rendering/screenshot_test.go
	browser_rendering/snapshot_test.go
	browser_rendering/json_test.go
	browser_rendering/link_test.go
	browser_rendering/markdown_test.go
	custom_pages/custompage_test.go
	secrets_store/store_test.go
	secrets_store/storesecret_test.go
	secrets_store/quota_test.go
	pipelines/pipeline_test.go
	pipelines/sink_test.go
	pipelines/stream_test.go
	schema_validation/schema_test.go
	schema_validation/setting_test.go
	schema_validation/settingoperation_test.go
	token_validation/configuration_test.go
	token_validation/configurationcredential_test.go
	token_validation/rule_test.go
	usage_test.go
	paginationauto_test.go
	paginationmanual_test.go
)

for PATHSPEC in "${TEST_PATHS[@]}"; do
    # Try to check out previous versions of the test files
    # with the current SDK.
    git checkout "$1" -- "${PATHSPEC}" 2>/dev/null || true
done

# Instead of running the tests, use the linter to check if an
# older test is no longer compatible with the latest SDK.
./scripts/lint
